import util from "@/libs/util"
// 维保调度-日历数据
export function getselectMaintCalendar (data) {
  return util.http({
    url: `/biz-maint/maint/maintWoker/selectMaintCalendar`,
    method: "post",
    data
  })
}

// 维保调度-日历详细列表
export function getselectMaintCalendarDetail (data) {
  return util.http({
    url: `/biz-maint/maint/maintWoker/selectMaintCalendarDetail`,
    method: "post",
    data
  })
}
// 维保调度-计划修改
export function getdoMaintPlanUpdate (data) {
  return util.http({
    url: `/biz-maint/maint/maintWoker/doMaintPlanUpdate`,
    method: "post",
    data
  })
}

// 保养工单-列表-分页
export function getselectEleMaintTaskPage (data) {
  return util.http({
    url: `/biz-maint/maint/maintWoker/selectEleMaintTaskPage`,
    method: "post",
    data
  })
}

// 保养工单-详情
export function getselectEleMaintTaskDetail (data) {
  return util.http({
    url: `/biz-maint/maint/maintWoker/selectEleMaintTaskDetail`,
    method: "post",
    data
  })
}

// 保养记录-列表-分页
export function getselectEleMaintTaskRecordPage (data) {
  return util.http({
    url: `/biz-maint/maint/maintWoker/selectEleMaintTaskRecordPage`,
    method: "post",
    data
  })
}

// 保养记录-详情
export function getselectEleMaintTaskRecordDetail (data) {
  return util.http({
    url: `/biz-maint/maint/maintWoker/selectEleMaintTaskRecordDetail`,
    method: "post",
    data
  })
}


// 故障任务-列表-分页
export function getselectElefailurePage (data) {
  return util.http({
    url: `/biz-maint/maint/maintWoker/selectElefailurePage`,
    method: "post",
    data
  })
}

// 故障任务-详情
export function getselectElefailureDetail (data) {
  return util.http({
    url: `/biz-maint/maint/maintWoker/selectElefailureDetail`,
    method: "post",
    data
  })
}

// 故障记录-列表-分页
export function getselectElefailureRecordPage (data) {
  return util.http({
    url: `/biz-maint/maint/maintWoker/selectElefailureRecordPage`,
    method: "post",
    data
  })
}

// 故障记录-详情
export function getselectElefailureRecordDetail (data) {
  return util.http({
    url: `/biz-maint/maint/maintWoker/selectElefailureRecordDetail`,
    method: "post",
    data
  })
}


// 保养工单-列表-分页
export function getAdminselectEleMaintTaskPage (data) {
  return util.http({
    url: `/biz-maint/maint-admin/maint-task/selectEleMaintTaskPage`,
    method: "post",
    data
  })
}


// 保养记录-列表-分页
export function getAdminEleMaintTaskRecordPage (data) {
  return util.http({
    url: `/biz-maint/maint-admin/maint-task/selectEleMaintTaskRecordPage`,
    method: "post",
    data
  })
}

// 保养记录-详情
export function getAdminEleMaintTaskRecordDetail (data) {
  return util.http({
    url: `/biz-maint/maint-admin/maint-task/selectEleMaintTaskRecordDetail`,
    method: "post",
    data
  })
}

// 维保单位统计
export function getAdminMaintOrgTotal (data) {
  return util.http({
    url: `/biz-maint/maint-admin/maint-task/maint-org`,
    method: "post",
    data
  })
}
